package day2;

/**
 * @author oldliu
 * @since 1.0
 */
public class JuiceMaker {
    String brand;
    String color;
    int watt;//功率
    //String fruit;//水果,不合适
    public void show(){
        System.out.println("这个榨汁机品牌是"+brand+"，颜色是："+color+",功率是："+watt+"瓦");
    }
    public String makeJuice(String fruit){
        System.out.println("刀片开始转动，把"+fruit+"搅碎");
        System.out.println("把汁炸出来了。。。");
        return fruit+"汁";
        //System.out.println("榨汁结束");
    }
    public String makeJuice2(String fruit,String fruit2){
        System.out.println("刀片开始转动，把"+fruit+"和"+fruit2+"搅碎");
        System.out.println("把汁炸出来了。。。");
        return fruit+fruit2+"汁";
        //System.out.println("榨汁结束");
    }
}
